import axios from '@/libs/api.request'
import platform from '@/config/platform'
import { getToken } from '@/libs/util'
// 导出

export const doExport = params => {
    return axios.request({
        url: platform.BOOKING_WWX + '/report-count/export',
        method: 'get',
        responseType: 'blob',
        params
    })
}

// 获取组织名称

export const getOrg = rank => {
    return axios.request({
        url: platform.BOOKING_WWX + '/report-count/getOrgTree/' + rank,
        method: 'get',
    })
}